package com.molichuxing.services.infrastructure.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.molichuxing.framework.dao.RootMapper;
import com.molichuxing.services.infrastructure.bean.VehicleColorBean;

/**
 * <p>
 * 车型颜色 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2019-07-29
 */
public interface VehicleColorMapper extends RootMapper<VehicleColorBean> {

  @Override
  VehicleColorBean getById(Integer id);

  VehicleColorBean getByName(String name);

  VehicleColorBean getByNameAndVehicleId(@Param("vehicleId") Integer vehicleId, @Param("name")String name);


  /**
   * 获取车辆颜色
   * @param vehicleColorIds
   * @return
   */
  List<VehicleColorBean> getByIds(@Param("vehicleColorIds")List<Integer> vehicleColorIds);

}
